package com.ruoyi.cs.event.followRecord.service;

import com.ruoyi.cs.event.followRecord.domain.FollowRecord;
import com.ruoyi.cs.event.followRecord.domain.FollowRecordCond;

import java.util.List;

public interface IFollowRecordService {
    /**
     * 查找跟进记录
     * @param cond
     * @return
     */
    List<FollowRecord> selectFollowRecordList(FollowRecordCond cond);

    /**
     * 新增跟进记录
     * @param followRecord
     * @return
     */
    int insertFollowRecord(FollowRecord followRecord);

    /**
     * 更新跟进记录
     * @param followRecord
     * @return
     */
    int updateFollowRecord(FollowRecord followRecord);

    /**
     * 删除跟进记录
     * 仅修改跟进记录删除标志
     * @param followRecord
     * @return
     */
    int updateFollowRecordDeleteFlag(FollowRecord followRecord);
}
